package com.lzj.myvideo.common;

public enum ResponseCode {
    SUCCESS(0,"success"),
    ERROR(1,"error"),
    NEED_LOGIN(3,"need_login"),
    ILLEGAL_ARGUMENT(4,"illegall_argument");

    private final int code;
    private final String desc;

    ResponseCode(int code,String desc){
        this.code =code;
        this.desc = desc;
    }

    public int getCode(){
        return code;
    }

    public String getDesc(){
        return desc;
    }
}
